﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace AllServer.Core.Entity;
    ///<summary>
    ///渠道表
    ///</summary>
    [SugarTable("TChannel")]
    public partial class TChannel
    {
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="Id")]
        public int Id {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="Name")]
        public string Name {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="ChannelNo")]
        public int ChannelNo {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="ProductId")]
        public int ProductId {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="ChannelTypeId")]
        public int ChannelTypeId {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="IsEnable")]
        public int IsEnable {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="Remark")]
        public string Remark {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="ChannelCost")]
        public decimal ChannelCost {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="Discount")]
        public int Discount {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="UserId")]
        public int UserId {get;set;}
        /// <summary>
        /// 迁移主键
        /// </summary>           
        [SugarColumn(ColumnName="RawId")]
        public int? RawId {get;set;}
        /// <summary>
        /// 最后更新时间，用于同于更新判断
        /// </summary>           
        [SugarColumn(ColumnName="SyncUpdateTime")]
        public DateTime? SyncUpdateTime {get;set;}
    }
